import request from "@/utils/request";

export function storage_index(params) {
  return request({
    url: "/inventory/index",
    method: "get",
    params
  });
}

// 修改单挑数据
export function storage_update(params) {
  return request({
    url: "inventory/changeField",
    method: "post",
    params
  });
}

// 修改记录
export function storage_log(params) {
  return request({
    url: "inventoryLog/index",
    method: "get",
    params
  });
}

// 导出
export function export_storage_now(params) {
  return request({
    url: "export/kun_now",
    method: "post",
    responseType: "blob",
    params
  });
}
